package top.sdaily.business.service.engineer;

import top.sdaily.business.dto.DEngineer;
import top.sdaily.business.model.engineer.Engineer;
import top.sdaily.business.model.engineer.Tag;
import top.sdaily.core.mybatis.Page;
import top.sdaily.core.service.BaseService;

import java.util.List;

/**
 * Created by soya on 2017/2/9.
 */
public interface EngineerService extends BaseService<Engineer> {

    List<Engineer> getPage(Page page);

    Engineer getById(String id);

    Engineer getWithTagsById(String id);

    int create(DEngineer engineer);

    int modify(DEngineer engineer);

}
